x86/ept: check for errors in a few callers of ept_set_entry.
authorTim Deegan <tim@xen.org>
Thu, 7 Mar 2013 13:22:32 +0000 (13:22 +0000)
committerTim Deegan <tim@xen.org>
Thu, 14 Mar 2013 10:35:56 +0000 (10:35 +0000)
commit6524455339349779c553af949b81d3d46f051797
treed041073a3df002fed933b405fd8a3d8e987b7fd6
parent97724f16028522c07f8251d94b6cca4552391fe4
x86/ept: check for errors in a few callers of ept_set_entry.

AFAICT in all these cases we have the p2m lock and have just checked
that the p2m trie is populated so the call should succeed.  Make it
explicit with ASSERT() rather than just ignoring the result.

Signed-off-by: Tim Deegan <tim@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/mm/p2m-ept.c